Skip to content

Conversation

Wumpf
Copy link
Member

@Wumpf Wumpf commented Oct 6, 2025

With lots of entities ofc.
Which also means that it practically replaces many_entities/main.py

Added as a super simple eyeballing-based end-to-end perf test that I'm using to make sure we don't regress perf as we're working on extending the transform system.

As we know, many entities is marred by various avoidable perf issues, notably transform perf is bad but not significant right now 😭

Example runs illustrating this:

pixi run rerun-release --threads=1
pixi run -e py python tests/python/many_entity_transforms/main.py --transforms-only
image
pixi run rerun-release --threads=1
pixi run -e py python tests/python/many_entity_transforms/main.py
image

@Wumpf Wumpf added 🔨 testing testing and benchmarks 🧑‍💻 dev experience developer experience (excluding CI) exclude from changelog PRs with this won't show up in CHANGELOG.md labels Oct 6, 2025
Copy link

github-actions bot commented Oct 6, 2025

Web viewer built successfully.

Result Commit Link Manifest
98fedda https://rerun.io/viewer/pr/11437 +nightly +main

Note: This comment is updated whenever you push a commit.

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a new comprehensive test script for evaluating performance of widely branched transform hierarchies and removes an older, simpler many entities test. The new test script provides extensive configuration options for testing transform system performance at scale.

  • Added many_entity_transforms/main.py with configurable hierarchy depth, branching factor, and transform frequency
  • Removed the basic many_entities/main.py script
  • Added profiling scope to resolve_entity_views_and_update_overrides while removing profile scope from visit_entity_with_overrides

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
tests/python/many_entity_transforms/main.py New comprehensive transform hierarchy performance test with multiple configuration options
tests/python/many_entities/main.py Removed simple many entities test script
crates/viewer/re_viewport_blueprint/src/view_contents.rs Moved profiling scope from frequently called function to higher-level function

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@grtlr grtlr self-requested a review October 7, 2025 07:38
Copy link
Member

@grtlr grtlr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Neat!

@Wumpf Wumpf merged commit 0a2b665 into main Oct 7, 2025
41 checks passed
@Wumpf Wumpf deleted the andreas/tf/stress-test branch October 7, 2025 07:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🧑‍💻 dev experience developer experience (excluding CI) exclude from changelog PRs with this won't show up in CHANGELOG.md 🔨 testing testing and benchmarks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants